package com.dingyx.ps.model.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * @description 开票记录跟结算单的关联关系表
 * @author zhangyang@zencor.cn
 * @date 2021-03-11
 */
@Data
@TableName("relate_account_invoice_record")
public class RelateAccountInvoiceRecordDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 结算单主表id
     */
    private Long billMasterId;

    /**
     * 开票记录id
     */
    private Long invoiceRecordId;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createDate;

    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer createBy;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateDate;

    /**
     * 更新人
     */
    @TableField(fill = FieldFill.UPDATE)
    private Integer updateBy;

    /**
     * 备注
     */
    private String remark;

}

